package com.xingxuecn.limit.dao;

import com.xingxuecn.limit.common.model.Header;
import com.xingxuecn.limit.common.model.RoleMenu;

import java.sql.SQLException;
import java.util.List;

/**
 * @author zgx at 2018/9/13 0013 下午 4:37
 */
public interface RoleHeaderDao {
    int add(RoleMenu roleMenu) throws SQLException;

    int delete(RoleMenu roleMenu) throws SQLException;

    List<Header> loadHeaderByRole(Integer roleId) throws SQLException;
}
